

<title>系统信息</title>

<div class="layui-card layadmin-header">
	<div class="layui-breadcrumb" lay-filter="breadcrumb">
		<a lay-href="">主页</a>
		<a><cite>系统</cite></a>
		<a><cite>系统信息</cite></a>
	</div>
</div>

<style>
	/* 这段样式只是用于演示 */

</style>

<div class="layui-fluid">
	<div class="layui-row layui-col-space15">
		<div class="layui-col-md12">

			<div class="layui-card">
				<div class="layui-card-header m">版本信息</div>
				<div class="layui-card-body">
					<table class="layui-table layui-text">
						<colgroup>
							<col width="90">
							<col>
						</colgroup>
						<tbody>
						<tr>
							<td>软件版本</td>
							<td>v{:config('setting.version')}<sup>{:config('setting.build')}</sup><a href="" target="_black"></a></td>
						</tr>
<!--						<tr>-->
<!--							<td>构建号</td>-->
<!--							<td>v{:config('setting.build')}<a href="" target="_black"></a></td>-->
<!--						</tr>-->
						<tr>
							<td>基础框架</td>
							<td>ThinkPHP-v{:app()->version()}</td>
						</tr>
						<tr >
							<td width="30%">授权域名</td>
							<td>
								{$Request.domain}
							</td>
						</tr>
						{php} if(1 == config('setting.authorization')){ {/php}
						<tr>
							<td >授权状态</td>
							<td >
								<span class="label label-success">已授权</span>
							</td>
						</tr>
						<tr>
							<td >授权有效期</td>
							<td>
								{:config('setting.end_time')}
							</td>
						</tr>
						{php} }elseif(-1 == config('setting.authorization')){ {/php}
						<tr>
							<td >授权状态</td>
							<td >
								<span class="label label-danger">已过期</span>
							</td>
						</tr>
						<tr>
							<td >授权有效期</td>
							<td>
								{:config('setting.end_time')}
							</td>
						</tr>
						{php} }else{ {/php}
						<tr>
							<td >授权状态</td>
							<td >
								<span class="label label-warning">未授权</span>
							</td>
						</tr>

						{php} }{/php}

						<tr>
							<td>操作系统</td>
							<td>{$system_config['os']}</td>
						</tr>
						<tr>
							<td>运行环境</td>
							<td>{$system_config['server_software']}</td>
						</tr>
						<tr>
							<td>上传限制</td>
							<td>{:ini_get('upload_max_filesize')}</td>
						</tr>
						<tr>
							<td>PHP版本</td>
							<td>{$Think.const.PHP_VERSION}</td>
						</tr>

						<tr class="{$system_config['fileinfo']?'':'danger'}">
							<td>fileinfo开启</td>
							<td>{$system_config['fileinfo']?'开启':'关闭'}</td>
						</tr>
						<tr class="{$system_config['openssl']?'':'danger'}">
							<td>openssl开启</td>
							<td>{$system_config['openssl']?'开启':'关闭'}</td>
						</tr>
						<tr class="{$system_config['curl']?'':'danger'}">
							<td>curl支持</td>
							<td>{$system_config['curl']?'开启':'关闭'}</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>


		</div>

	</div>
</div>

<script>
	layui.use(['admin'], function(){
		var $ = layui.$
				,admin = layui.admin
				,element = layui.element
				,router = layui.router();

		element.render();
	});
</script>


